/**
  * @title: 考试接口
  * @description: 
  * @author JUN
  */

import { $ajaxPost } from "@/utils/request.js"

// 获取微信openid
export const getSessionInfo = (data) => {
    const url = "getSessionInfo"
    return $ajaxPost(url, data)
}

// 微信小程序登录
export const wxLogin = (data) => {
    const url = "wxLogin"
    return $ajaxPost(url, data)
}

// 获取微信用户信息
export const getWxUserInfo = (data) => {
    const url = "getWxUserInfo"
    return $ajaxPost(url, data)
}